package com.lokyiu.tutorial.java.exerisce2;

public class Road {
	private String roadType;
	private double length;
	private double friction;
	public Road(){
	}
	
	public Road(int length){
		this.length=length;
	}
	public double getLength(){
		return this.length;
	}
	
	public double getLengthKm(){
		return this.length/1000;
	}

	public double getFriction() {
		return friction;
	}

	public void setFriction(double friction) {
		this.friction = friction;
	}
}

